﻿namespace WH.Contracts.Systems.Config
{
    public class ConfigOutputDto
    {
        /// <summary>
        /// 主键fid 
        ///</summary>
        public string Id { get; set; } = null!;
        /// <summary>
        ///  
        ///</summary>
        public string Key { get; set; } = null!;
        /// <summary>
        ///  
        ///</summary>
        public string Value { get; set; } = null!;

        /// <summary>
        /// 排序
        /// </summary>
        public int SortNo { get; set; }
        /// <summary>
        /// 创建者 
        ///</summary>
        public string CreateBy { get; set; } = null!;
        /// <summary>
        /// 创建时间 
        ///</summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 修改者 
        ///</summary>
        public string UpdateBy { get; set; } = null!;
        /// <summary>
        /// 修改时间 
        ///</summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 机构Id 
        ///</summary>
        public string OrganizationId { get; set; } = null!;
        /// <summary>
        /// 机构name
        ///</summary>
        public string OrganizationName { get; set; } = null!;


        public string Description { get; set; } = null!;

        public string? Type { get; set; }

        public string ParentId { get; set; } = null!;

        public List<ConfigOutputDto>? Children { get; set; }

        public string Link { get; set; } = null!;

    }
}
